networking.wireguard.interfaces.<name>.dynamicEndpointRefreshSeconds
Periodically refresh the endpoint hostname or address for all peers. Allows WireGuard to notice DNS and IPv4/IPv6 connectivity changes. This option can be set or overridden for individual peers.
Setting this to 0 disables periodic refresh.
- Type
signed integer- Default
0- Example
300- Declared
- <nixpkgs/nixos/modules/services/networking/wireguard.nix>